package bookExercise;

public class A11ConstractorsDemo {
    public A11ConstractorsDemo(){
        System.out.println("这是无参构造");
    }
    public A11ConstractorsDemo(int i){
        System.out.println("这是有参构造");
    }
    public static void main(String[] args) {
        A11ConstructorsInterface a1 =A11ConstractorsDemo::new;
        A11ConstractorsDemo b1 =a1.action(1);
    }
}
